package com.Java.train.business.service.daily;

import com.Java.train.business.req.DailyTrainStationReq;
import com.Java.train.common.response.CommonResp;
import com.Java.train.business.entity.DailyTrainStation;
import com.baomidou.mybatisplus.extension.service.IService;
import com.Java.train.common.response.PageResp;
import com.Java.train.business.entity.DTO.DailyTrainStationDTO;
import com.Java.train.business.req.daily.DailyTrainStationQueryReq;

import java.util.Date;
import java.util.List;

/**
* @author luomoxingchen
* @since 2024-09-24
*/
public interface DailyTrainStationService extends IService<DailyTrainStation> {

    /**
    * DailyTrainStation详情
    * @param
    * @return
    */
    PageResp<DailyTrainStationDTO> queryList(DailyTrainStationQueryReq dailyTrainStationQueryReq);

    /**
    * DailyTrainStation保存和修改
    * @param dailyTrainStation 根据需要进行传值
    * @return
    */
    CommonResp<Object> modify(DailyTrainStation dailyTrainStation);

    /**
    * DailyTrainStation删除
    * @param ids
    * @return
    */
    CommonResp<Object> remove(String ids);

    void genDaily(Date date, String code);

    List<DailyTrainStationDTO> queryAllByTrain(DailyTrainStationReq dailyTrainStationReq);
}


